<?php
namespace app\wechat\interfaces;

/**
 * @name 订单
 * @sort 6
 * @remark
 */
interface OrderInterface
{
    /**
     * @name 购票须知
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @sort 1
     */
    public function actionBuynotice();

    /**
     * @name 退票须知
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @sort 2
     */
    public function actionRetreatnotice();

    /**
     * @name 生成订单
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @post t:班次ID,k:id,v:1,n:
     * @post t:联系人,k:contacts,v:json数据,n:
     * @post t:订单金额,k:pirce,v:11,n:
     * @post t:订单总金额,k:total_pirce,v:11,n:
     * @post t:服务费,k:service_charge,v:11,n:
     * @post t:保险费,k:premium,v:11,n:
     * @sort 3
     */
    public function actionAddorder();

    /**
     * @name 订单列表
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @post t:页数,k:page,v:1,n:
     * @post t:条数,k:limit,v:10,n:
     * @post t:状态,k:type,v:0,n:
     * @sort 4
     */
    public function actionOrderlist();

    /**
     * @name 取消订单
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @post t:订单ID,k:id,v:1,n:
     * @sort 5
     */
    public function actionCancel();

    /**
     * @name 订单详情
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @post t:订单ID,k:id,v:1,n:
     * @sort 6
     */
    public function actionInfo();

    /**
     * @name 订单改签审核
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @post t:订单ID,k:order_id,v:1,n:
     * @post t:班次ID,k:shift_id,v:1,n:
     * @sort 7
     */
    public function actionChange();

    /**
     * @name 订单支付回调
     * @access 
     * @sort 8
     */
    public function actionNotify();

    /**
     * @name 订单待支付支付
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @post t:订单ID,k:order_id,v:1,n:
     * @sort 9
     */
    public function actionPayorder();

    /**
     * @name 订单退款
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @post t:订单ID,k:order_id,v:1,n:
     * @sort 10
     */
    public function actionRefund();

    /**
     * @name 订单退款回调
     * @access
     * @sort 11
     */
    public function actionRefundnotify();

    /**
     * @name 后台订单退款回调
     * @access
     * @sort 11
     */
    public function actionRefundnotify2();

    /**
     * @name 生成支付宝订单
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @post t:班次ID,k:id,v:1,n:
     * @post t:联系人,k:contacts,v:json数据,n:
     * @post t:订单金额,k:pirce,v:11,n:
     * @post t:订单总金额,k:total_pirce,v:11,n:
     * @post t:服务费,k:service_charge,v:11,n:
     * @post t:保险费,k:premium,v:11,n:
     * @sort 3
     */
    public function actionAddaliorder();

    /**
     * @name 支付宝订单支付回调
     * @access 
     * @sort 8
     */
    public function actionAlinotify();

    /**
     * @name 支付宝订单待支付支付
     * @post t:token,k:token,v:asfwefqweweafew12fa,n:
     * @post t:订单ID,k:order_id,v:1,n:
     * @sort 9
     */
    public function actionPayaliorder();
}
